﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interface_Tier;
using Transfer_Object_Tier;
using System.Data;
using Data_Access_Tier;


namespace Business_Tier
{
    public class BT_HRM_WELFAREData : MarshalByRefObject, IHRM_WELFAREData
    {
        HRM_WELFAREData HRM_WELFARE = new HRM_WELFAREData();

        public int HRM_WELFARE_Delete(string WelfareCode)
        {
            return HRM_WELFARE.HRM_WELFARE_Delete(WelfareCode);
        }
        public int HRM_WELFARE_Disable(string WelfareCode, ref bool Enabled)
        {
            return 1;
        }
        public System.Data.DataSet HRM_WELFARE_Get(string WelfareCode)
        {
            return HRM_WELFARE.HRM_WELFARE_Get(WelfareCode);
        }
        public System.Data.DataSet HRM_WELFARE_GetList()
        {
            return HRM_WELFARE.HRM_WELFARE_GetList();
        }
        public int HRM_WELFARE_Insert(string WelfareCode, string WelfareName, DateTime PrepareFromDate, DateTime PrepareToDate, DateTime RegisterFromDate, DateTime RegisterToDate, DateTime PerformFromDate, DateTime PerformToDate, string Purpose, string Form, string Location, int Quantity, int Status, decimal MoneyOneEmployee, decimal MoneyOneCompany, decimal MoneyOneTotal, decimal MoneyAllEmployee, decimal MoneyAllCompany, decimal MoneyAllTotal, decimal MoneyTotal, string PartnerName, string PartnerPhone, string PartnerAddress, string PersonName, string PersonPosition, string PersonPhone, string PersonEmail, string PersonAddress, string Description)
        {
            return HRM_WELFARE.HRM_WELFARE_Insert(WelfareCode,WelfareName,PrepareFromDate,PrepareToDate,RegisterFromDate,RegisterToDate,PerformFromDate,PerformToDate,Purpose,Form,Location,Quantity,Status,MoneyOneEmployee,MoneyOneCompany,MoneyOneTotal,MoneyAllEmployee,MoneyAllCompany,MoneyAllTotal,MoneyTotal,PartnerName,PartnerPhone,PartnerAddress,PersonName,PersonPosition,PersonPhone,PersonEmail,PersonAddress,Description);
        }
        public int HRM_WELFARE_Save(string WelfareCode, string WelfareName, DateTime PrepareFromDate, DateTime PrepareToDate, DateTime RegisterFromDate, DateTime RegisterToDate, DateTime PerformFromDate, DateTime PerformToDate, string Purpose, string Form, string Location, int Quantity, int Status, decimal MoneyOneEmployee, decimal MoneyOneCompany, decimal MoneyOneTotal, decimal MoneyAllEmployee, decimal MoneyAllCompany, decimal MoneyAllTotal, decimal MoneyTotal, string PartnerName, string PartnerPhone, string PartnerAddress, string PersonName, string PersonPosition, string PersonPhone, string PersonEmail, string PersonAddress, string Description)
        {
            return HRM_WELFARE.HRM_WELFARE_Save(WelfareCode, WelfareName, PrepareFromDate, PrepareToDate, RegisterFromDate, RegisterToDate, PerformFromDate, PerformToDate, Purpose, Form, Location, Quantity, Status, MoneyOneEmployee, MoneyOneCompany, MoneyOneTotal, MoneyAllEmployee, MoneyAllCompany, MoneyAllTotal, MoneyTotal, PartnerName, PartnerPhone, PartnerAddress, PersonName, PersonPosition, PersonPhone, PersonEmail, PersonAddress, Description);
        }
        public int HRM_WELFARE_Update(string WelfareCode, string WelfareName, DateTime PrepareFromDate, DateTime PrepareToDate, DateTime RegisterFromDate, DateTime RegisterToDate, DateTime PerformFromDate, DateTime PerformToDate, string Purpose, string Form, string Location, int Quantity, int Status, decimal MoneyOneEmployee, decimal MoneyOneCompany, decimal MoneyOneTotal, decimal MoneyAllEmployee, decimal MoneyAllCompany, decimal MoneyAllTotal, decimal MoneyTotal, string PartnerName, string PartnerPhone, string PartnerAddress, string PersonName, string PersonPosition, string PersonPhone, string PersonEmail, string PersonAddress, string Description)
        {
            return HRM_WELFARE.HRM_WELFARE_Update(WelfareCode, WelfareName, PrepareFromDate, PrepareToDate, RegisterFromDate, RegisterToDate, PerformFromDate, PerformToDate, Purpose, Form, Location, Quantity, Status, MoneyOneEmployee, MoneyOneCompany, MoneyOneTotal, MoneyAllEmployee, MoneyAllCompany, MoneyAllTotal, MoneyTotal, PartnerName, PartnerPhone, PartnerAddress, PersonName, PersonPosition, PersonPhone, PersonEmail, PersonAddress, Description);
        }
    }
}
